import service from '../utils/request'
// 中期成熟度评价
export const zqcsdpj = (id) => {
    return service({
      url: `/jscsdpgkb/zqcsdpj/` + id,
      method: 'GET',
    })
}
// 等级分布
export const djfb = (id) => {
    return service({
      url: `/jscsdpgkb/djfb/` + id,
      method: 'GET',
    })
}
// 成熟度提升
export const csdts = (id) => {
    return service({
      url: `/jscsdpgkb/csdts/` + id,
      method: 'GET',
    })
}

//综合数据面板第一页
//  计划完成情况
export const performance = () => {
    return service({
      url: `/gcxxkb/performance/`,
      method: 'GET',
    })
}
//计划完成率
export const pcRate = () => {
    return service({
      url: `gcxxkb/pcRate`,
      method: 'GET',
    })
}
//关键技术统计
export const keySkill = () => {
    return service({
      url: `gcxxkb/keySkill`,
      method: 'GET',
    })
}

/// 经费拨付比例
export const allocated = () => {
    return service({
      url: `gcxxkb/allocated`,
      method: 'GET',
    })
}

//合同经费构成
export const scFunds = () => {
    return service({
      url: `/gcxxkb/scFunds`,
      method: 'GET',
    })
}

//经费拨付情况
export const fundsAllocated = () => {
    return service({
      url: `gcxxkb/fundsAllocated`,
      method: 'GET',
    })
}

// 关键程度评估统计
export const bingtu1 = () => {
  return service({
    url: '/jspgkb/queryGjcd',
    method: 'GET',
  })
}
export const zhuzhuangtu1 = () => {
  return service({
    url: '/jspgkb/queryLyGjcd',
    method: 'GET',
  })
}
export const bingtu2 = () => {
  return service({
    url: '/jspgkb/queryZyx',
    method: 'GET',
  })
}
export const bingtu3 = () => {
  return service({
    url: '/jspgkb/queryKncd',
    method: 'GET',
  })
}
// 成熟度评估统计
export const maturingbingtu1 = (data) => {
  return service({
    url: `/jspgkb/queryTrldj?jb=${data}`,
    method: 'GET'
  })
}
export const maturingbingtu2 = (data) => {
  return service({
    url: `/jspgkb/queryCsd?jb=${data}`,
    method: 'GET'
  })
}
// 风险评估统计
export const riskbingtu1 = () => {
  return service({
    url: '/jspgkb/acStatisticsH',
    method: 'GET',
  })
}
export const riskzhuzhuangtu1 = () => {
  return service({
    url: '/jspgkb/queryFxpgzs',
    method: 'GET',
  })
}
export const riskpbingtu2 = () => {
  return service({
    url: '/jspgkb/numElements',
    method: 'GET',
  })
}
export const riskpbingtu3 = () => {
  return service({
    url: '/jspgkb/numRanks',
    method: 'GET',
  })
}